<?php
include_once('N/Resource/Interface.php');

class N_RBAC_Resource implements N_RBAC_Resource_Interface
{
	/**
	 * 资源ID
	 *
	 * @var string
	 */
	private $_resourceId;
	
	public function __construct(string $resourceId)
	{
		$this->_resourceId = $resourceId;
	}
	
	/**
	 * 返回资源id
	 *
	 * @return string
	 */
	public function getResourceId()
	{
		return $this->_resourceId;
	}
}